﻿using System;

namespace HiTeachers.Entities
{
    [Serializable]
    public class New : DomainObject<Guid>
    {
        public virtual string Title { get; set; }

        public virtual string Summary { get; set; }

        public virtual string Content { get; set; }

        public virtual DateTime UpdatedDate { get; set; }

        public virtual DateTime CreatedDate { get; set; }

        public override int GetHashCode()
        {
            return ID.GetHashCode();
        }
    }
}
